@charset "UTF-8";
/*第一页*/
.first > .fp-tableCell {
  width: 100%;
  overflow: hidden;
  background-image: url("../images/first-bg.jpg");
  background-size: 100% 100%;
  .box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    div.w {
      height: 100%;
      position: relative;
      overflow: hidden;
      transform-style: preserve-3d;
      a.homeName {
        display: inline-block;
        font-size: 2.5rem;
        color: white;
        line-height: 4rem;
        background-color: rgb(122, 33, 18);
        padding: 0 10px;
        border-radius: 10px;
        position: absolute;
        left: 6%;
        top: 8%;
      }
      div.hello {
        position: absolute;
        left: 6%;
        top: 48%;
        color: white;
        font-weight: 700;
      }
      .img {
        width: 28%;
        height: 80%;
        position: absolute;
        left: 40%;
        top: 8%;
        transform: rotateX(90deg) translateZ(500px) skew(45deg);
        transition: all 3s;
      }
      @media (max-width: 768px) {
        div.hello {
          top: 60%;
        }

        .img {
          width: 58%;
          height: 50%;
          position: absolute;
          left: 20%;
          top: 8%;
        }

        a.homeName {
          font-size: 30px;
          line-height: 36px;
          display: none;
        }
      }
      div.line1 {
        width: 98%;
        height: 4px;
        background: rgba(0, 162, 232, 0.6);
        border-radius: 2px;
        position: absolute;
        top: 94%;
        left: 100%;
        transition: all 1s;
      }
      div.line2 {
        width: 4px;
        height: 94%;
        background: rgba(0, 162, 232, 0.6);
        border-radius: 2px;
        position: absolute;
        top: -100%;
        left: 4%;
        transition: all 1s;
      }
    }
    #welcome {
      color: rgb(255, 255, 0);
      background-color: rgb(204, 158, 134);
      position: absolute;
      left: 26%;
      top: 36%;
      text-align: center;
      padding: 10px;
      border: 2px solid yellow;
      span {
        display: inline-block;
        font-size: 100px;
        line-height: 100px;
      }
    }
    @media (max-width: 768px) {
      #welcome {
        left: 10%;
        span {
          font-size: 36px;
          line-height: 40px;
        }
      }
    }

  }
}

@media (max-width: 768px) {
  .first > .fp-tableCell {
    background-image: url("../images/first-miblebg.jpeg");
    padding-top: 20px;
  }
}

//第一屏skill动画
div.first.section.current {
  #line1 {
    left: 2%;
  }
  #line2 {
    top: 4%;
  }
  #helloText {
    width: 9rem;
  }
  #nameText {
    width: 15rem;
  }
  #jobtext-a {
    width: 6rem;
  }
  #jobtext-w {
    width: 2.3rem;
  }
  #jobtext-e {
    width: 1.85rem;
  }
  #jobtext-b {
    width: 1.85rem;
  }
  #jobtext-engineer {
    width: 15rem;
  }
  #adress-now {
    width: 6rem;
  }
  #adress-point {
    width: 1.5rem;
  }
  #adress-city {
    width: 6rem;
  }
  #wanted {
    transform: none;
  }
}
